package com.yn.club.auth.application.convert;


import java.util.List;
import com.yn.club.auth.domain.entity.AuthRoleDO;
import com.yn.club.auth.application.dto.AuthRoleDTO;
import com.yn.club.auth.application.request.AuthRoleSaveRequest;
import com.yn.club.auth.application.request.AuthRoleQueryRequest;
import org.mapstruct.Mapper;
import com.yn.club.common.util.MapStructUtil;
/**
 * (AuthRole)DTO和DO转换
 *
 * @author YN
 * @since 2025-01-22 15:41:49
 */
@Mapper(componentModel = "spring", uses = {MapStructUtil.class})
public interface AuthRoleApplicationConverter {

  AuthRoleDTO convertDoToDto(AuthRoleDO ojb);
  
  List<AuthRoleDTO> convertDoToDto(List<AuthRoleDO> ojbs);
  
  AuthRoleDO convertDtoToDo(AuthRoleDTO ojb);
  
  List<AuthRoleDO> convertDtoToDo(List<AuthRoleDTO> ojbs);
  
  AuthRoleDO convertSaveRequestToDo(AuthRoleSaveRequest ojb);
  
  AuthRoleDO convertQueryRequestToDo(AuthRoleQueryRequest ojb);
  
  
}

